MovieImportSetDuration
TheMovieImportSetDuration
function allows an application to control the duration of the data that your component pastes into the target movie.
pascal ComponentResult MovieImportSetDuration (ComponentInstance ci, TimeValue duration);
ci
- Identifies the application's connection to your movie data import component.
duration
- Specifies the duration in the movie's time scale. If this parameter is set
to 0, then you may paste any amount of movie data that is appropriate for the data to be imported.DESCRIPTION
Applications may use theMovieImportSetDuration
function to set the duration of the data to be pasted by your movie data import component. This duration is expressed in the movie's time scale.If your component supports paste operations (that is, your component allows the application to set the
movieImportInParallel
flag to 1 with theMovieImportHandle
orMovieImportFile
function), then you must support this function. If an application calls this function and sets a duration limit, you must abide by that limit. This function is not valid for insert operations (where themovieImportInParallel
flag is set to 0).RESULT CODE
badComponentSelector 0x80008002 Function not supported
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help